
//后台登录页路由
const express = require( 'express' );
const router = express.Router();

//引入控制器
const { login, dologin } = require( '../../controllers/admin/LoginController' );

//登陆显示
router.get( '/login', login );

//登录处理
router.post( '/login', dologin );

module.exports = router;



